package cn.skyquant.quant4j.service.boot.web;

import java.text.SimpleDateFormat;
import java.util.Date;

public final class WebConstants {
    public static final String COOKIE_TEL = "tel";
    public static final String COOKIE_TOKEN = "token";
    public static final String COOKIE_LOGIN_TIME = "time";
    public static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy_MM_dd_HH_mm_ss");
    public static final synchronized String format(Date date){
        return dateFormat.format(date);
    }
}
